package com.zt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zt.system.vo.CardTableVO;
import com.zt.utils.Result;
import com.zt.vo.CardBindingVo;

import java.util.List;
import com.zt.system.CardBinding;
import com.zt.utils.Result;

/**
* @author 不.凌
* @description 针对表【card_binding】的数据库操作Service
* @createDate 2024-09-03 17:42:54
*/
public interface CardBindingService extends IService<CardBinding> {

    Result getCardBindingById(Integer uid);

    Result Recharge(CardBindingVo cardBindingVo);

    String getCardNumber(Integer bindingId);

    CardBinding CardBindingByCardNumber(String cardNumber);
    CardBinding cardBindingByUserId();

    CardBinding cardBindingByCardNumber(String cardNumber);

    Result cardBindingByBindingIdUpdate(CardTableVO cardTableVO);

    List<CardBinding> cardBindingFindByUserId();


    Result cardBindingPayBackByBindingId(CardTableVO cardTableVO);

    boolean savebingcard(CardBinding cardBinding);

//    Result savebangcard(CardBinding cardBinding);

    Result updatebangstatus(CardBinding cardBinding);

    Result code();

    Result withdrawal(CardBindingVo cardBindingVo);
}
